import request from '@/utils/request'

// 统计
export function electricStuRoster(query) {
  return request({
    url: '/departure/electricStuRoster/list',
    method: 'get',
    params: query
  })
}
// 电费查询询毕业离校学生列表
export function electricStuRosterList(query) {
  return request({
    url: '/departure/electricStuRoster/list',
    method: 'get',
    params: query
  })
}
// 修改电费退费

export function upDateElectricStuRoster(query) {
  return request({
    url: '/departure/electricStuRoster',
    method: 'put',
    data: query
  })
}
// 根据宿舍查询电费费用明细
export function dormHouseRoom(query) {
  return request({
    url: '/departure/electricStuRoster/dormHouseRoom',
    method: 'get',
    params: query
  })
}
// 统计毕业离校学生人数、总金额、退费学生
export function electricStuRosterStat(query) {
  return request({
    url: '/departure/electricStuRoster/stat',
    method: 'get',
    params: query
  })
}